From 7e15a13f48f58cb8bd8f9733062ebead1e14aa26 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 9 Mar 2020 10:24:30 -0700 Subject: [PATCH] wayland: Drop dead code --- gdk/wayland/gdksurface-wayland.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/gdk/wayland/gdksurface-wayland.c b/gdk/wayland/gdksurface-wayland.c index 202b0331ec..96ce53fc94 100644 --- a/gdk/wayland/gdksurface-wayland.c +++ b/gdk/wayland/gdksurface-wayland.c @@ -3345,20 +3345,6 @@ gdk_wayland_surface_minimize (GdkSurface *surface) static void gdk_wayland_surface_unminimize (GdkSurface *surface) { - if (GDK_SURFACE_DESTROYED (surface) || - !SURFACE_IS_TOPLEVEL (surface)) - return; - -#if 0 - if (GDK_SURFACE_IS_MAPPED (surface)) - { - gdk_surface_show (surface); - } - else - { - gdk_synthesize_surface_state (surface, GDK_SURFACE_STATE_MINIMIZED, 0); - } -#endif } static void -- 2.30.2